package com.fas.system.mapper;

import com.fas.system.domain.FasInspectionRecordData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FasInspectionRecordDataMapper {

    int batchInsertData(@Param("list") List<FasInspectionRecordData> recordDataList);

    /**
     * 通过巡检记录id查询设施的数据项数据
     * @param fasInspectionRecordId
     * @return
     */
    List<FasInspectionRecordData> findByFasInspectionRecordId(Integer fasInspectionRecordId);

    int selectRecordCount(Integer fasInspectionRecordId);
}
